package _15_generics._15_11;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * 创建持有Byte的Set
 */
public class _02_ByteOfSet {
    Byte[] possible = {1,2,3,4,5};
    Set<Byte> mySet = new HashSet<>(Arrays.asList(possible));
    Set<Byte> mySet2 = new HashSet<>(Arrays.asList(new Byte[]{1, 2, 3}));
}
